<div style="margin-bottom: 5px;">
    <div>
        <button onclick="turnOnPivotMode()">Pivot Mode On</button>
        <button onclick="turnOffPivotMode()">Pivot Mode Off</button>
        <button onclick="addPivotColumn()" style="margin-left: 15px;">Pivot Country</button>
        <button onclick="addPivotColumns()">Pivot Year & Country</button>
        <button onclick="removePivotColumn()">Un-Pivot Country</button>
    </div>
    <div style="margin-top: 5px;">
        <button onclick="emptyPivotColumns()">Remove All Pivots</button>
        <button onclick="exportToCsv()" style="margin-left: 15px;">CSV Export</button>
    </div>
</div>
<div style="height: calc(100% - 60px);">
    <div id="myGrid" style="height: 100%;" class="ag-theme-quartz"></div>
</div>